package cn.stylefeng.guns.modular.mapper;

import cn.stylefeng.guns.modular.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Map;


/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author XiangTianGe
 * @since 2020-04-14
 */
@Repository
public interface OrderMapper extends BaseMapper<Order> {

    Page<Map<String, Object>> getList(@Param("page") Page<Order> page, @Param("keyword") String keyword, @Param("beginTime") String beginTime, @Param("endTime") String endTime, @Param("type") Integer type, @Param("status") Integer status, @Param("userId") Long userId);

    String payment();

    String unPayment();
}
